package org.hishenframework.core.view.interceptor;

import java.lang.reflect.Field;

import javax.persistence.Id;


public class Model2Html {

	public static String ModeltoHtml(Object o) {
		Class<?> c = o.getClass();
		Field[] fields = c.getDeclaredFields();
		for (Field field : fields) {
			if (field.getAnnotation(Id.class) != null) {
//				String tag = "<input type='hidden' name='" + field.get + "' />";
			}
			if (field.getType() == String.class) {
				
			}
			//System.out.println(field.getType() == Integer.class);
		}
		return "";
	}
}
